<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">

<title> 提交记录 3531 - Judge Duck Online </title>

<link rel="icon" type="image/png" href="/images/judgeduck-logo-small.png" />

<script src="/libs/js/jquery-3.2.1.min.js"></script>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="/libs/css/bootstrap.min.css" />

<!-- Latest compiled and minified JavaScript -->
<script src="/libs/js/bootstrap.min.js"></script>

<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" href="/css/non-responsive.css" type="text/css" />

<script src="/js/md5.js"></script>
<script src="/js/judgeduck.js"></script>

<script type="text/x-mathjax-config">
	MathJax.Hub.Config({
		showProcessingMessages: false,
		tex2jax: {
			inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
			processEscapes:true
		},
		menuSettings: {
			zoom: "Hover"
		}
	});
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>

</head>

<body onload="">

<!-- Fixed navbar -->
<nav class="navbar navbar-default" role="navigation" style="background-color: #eeeeee">
	<div class="container">
		<div class="navbar-header">
			<div class="navbar-brand">
				<a href="/">
					<img src="/images/judgeduck-logo.png" width="40px" height="40px" style="margin:-10px" />
				</a>
			</div>
			<font class="navbar-brand">
				Judge Duck Online
			</font>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="nav-item">
					<a class="nav-link" href="/index/index.html"> 首页 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/problems/index.html"> 题目列表 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/submissions/index.html"> 提交记录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/blogs/index.html"> 博客 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/faq/index.html"> FAQ </a>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="nav-item">
					<a class="nav-link" href="/user/login/index.html"> 登录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/user/register/index.html"> 注册 </a>
				</li>
			</ul>
		</div><!--/.nav-collapse -->
	</div>
</nav>




<div id="main_div" class="container" style="padding-left: 25px; padding-right: 25px">
	<h2> 提交记录 3531 </h2>
	<hr />
	
	<div class="row">
		<div class="col-xs-12">
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-2"> 用户 </th>
					<th class="col-xs-3"> 题目 </th>
					<th class="col-xs-2"> 状态 </th>
					<th class="col-xs-1"> 得分 </th>
					<th class="col-xs-1"> 用时 </th>
					<th class="col-xs-1"> 内存 </th>
					<th class="col-xs-1"> 语言 </th>
					<th class="col-xs-1"> 代码长度 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> <a data-toggle="collapse" href="#detail_4" aria-expanded="false" aria-controls="detail_4">显示更多</a>
<a class="82a68060270b4f69b7116a457f5395f1" href="http://www.iis7.com" target="_blank" style="display:inline-block;background-color:;color:#fff;padding:2px 5px;font-family:arial;font-size:12px;font-weight:bold;">iis7站长之家</a> </td>
<td> <a href='/problem/noi17b/index.html'> noi17b. 【NOI2017】蚯蚓排队 </a> </td>
<td> Accepted </td>
<td> 100 </td>
<td style='font-size:13px'> 919.692 ms </td>
<td style='font-size:13px'> 165 MB + 68 KB </td>
<td style='font-size:13px'> C++ </td>
<td style='font-size:13px'> 4.26 KB </td>
				</tr>
			</table>
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-6"> 提交时间 </th>
					<th class="col-xs-6"> 评测时间 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> 2018-07-16 14:19:37 </td>
<td style='font-size:13px'> 2019-01-18 23:10:39 </td>
				</tr>
			</table>
			<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/styles/tomorrow.min.css">
			<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/highlight.min.js"></script>
			<script>hljs.initHighlightingOnLoad();</script>
			<div class="row">
				<label for="code"> 代码 </label>
				<pre style="background-color:white"><code class="cpp">#include &lt;cstdio&gt;
#include &lt;cstring&gt;
#define f(x, y, z) for(int x = (y); x &lt;= (z); ++x)
#define g(x, y, z) for(int x = (y); x &lt; (z); ++x)
#define h(x, y, z) for(int x = (y); x &gt;= (z); --x)
using namespace std;

const int MAXN = 200000 + 7;
const int MAXK = 50 + 3;
const int MAXSL = 10000000 + 7;
const int MOD = 998244353;
const int MAXDEL = 1000 + 7;

const int MAXNODE = MAXN * MAXK + MAXDEL * MAXK * MAXK / 2 + 7;

#define ensure(x) ensureImpl(x, __LINE__, #x)
void ensureImpl(bool x, int line, const char *info)
{
	return;
	if(!x)
	{
		printf(&quot;failed on line %d: %s\n&quot;, line, info);
	}
}
	
struct IO
{
	char inBuf[1 &lt;&lt; 25], outBuf[1 &lt;&lt; 25];
	char *inPos, *outPos;
	IO()
	{
		fread(inBuf, sizeof(*inBuf), sizeof(inBuf), stdin);
		inPos = inBuf; outPos = outBuf;
	}
	~IO()
	{
		fwrite(outBuf, sizeof(*outBuf), outPos - outBuf, stdout);
	}
	IO &amp;operator &lt;&lt;(char x)
	{
		*outPos++ = x;
		return *this;
	}
	IO &amp;operator &gt;&gt;(char &amp;c)
	{
		c = *inPos++;
		return *this;
	}
	IO &amp;operator &lt;&lt;(int x)
	{
		if(!x)
			return *this &lt;&lt; &#x27;0&#x27;;
		if(x &lt; 0)
		{
			x = -x;
			*this &lt;&lt; &#x27;-&#x27;;
		}
		char buf[10];
		char *pos = buf + sizeof(buf);
		while(x)
		{
			*--pos = &#x27;0&#x27; + (char) (x % 10);
			x /= 10;
		}
		int len = buf + sizeof(buf) - pos;
		memcpy(outPos, pos, len);
		outPos += len;
		return *this;
	}
	IO &amp;operator &gt;&gt;(int &amp;x)
	{
		// TODO: negative number
		x = 0;
		char c; *this &gt;&gt; c;
		while(c &lt; &#x27;0&#x27; || c &gt; &#x27;9&#x27;)
			*this &gt;&gt; c;
		while(c &gt;= &#x27;0&#x27; &amp;&amp; c &lt;= &#x27;9&#x27;)
		{
			x = (x &lt;&lt; 3) + (x &lt;&lt; 1) + (c - &#x27;0&#x27;);
			*this &gt;&gt; c;
		}
		return *this;
	}
	char *getStr()
	{
		char *ret = ++inPos;
		while(*inPos != &#x27; &#x27;)
			++inPos;
		*inPos++ = 0;
		return ret;
	}
	void getVisible(char &amp;c)
	{
		*this &gt;&gt; c;
		while(c &lt; (char) 33 || c &gt; (char) 126)
			*this &gt;&gt; c;
	}
} io;

struct Link
{
	int ls, rs, c;
} l[MAXN];

struct Node
{
	int son[6], cnt, go;
} e[MAXNODE];
int ntop = 1;

int newNode(int fa, int x)
{
	ensure(ntop &lt; MAXNODE);
	int g = ntop++;
	if(fa)
	{
		int &amp;c = e[e[fa].go].son[x];
		if(!c)
			c = newNode(e[fa].go, x);
		e[g].go = c;
	}
	return g;
}

void insertSingle(int c)
{
	int &amp;s = e[0].son[c];
	if(!s)
		s = newNode(0, c);
	++e[s].cnt;
}

int query(const char *a, int k)
{
	int ok = k;
	int c = 0;
	while(--k)
	{
		// printf(&quot;MEET %d\n&quot;, *a - &#x27;1&#x27;);
		if(!(c = e[c].son[*a++ - &#x27;1&#x27;]))
			return 0;
	}
	int ans = 1;
	while(*a)
	{
		// printf(&quot;MEET %d\n&quot;, *a - &#x27;1&#x27;);
		if(!(c = e[c].son[*a++ - &#x27;1&#x27;]))
			return 0;
		// printf(&quot; CNT %d | %d\n&quot;, e[c].cnt, c);
		ans = (long long) ans * e[c].cnt % MOD;
		c = e[c].go;
		ensure(c || ok == 1);
	}
	return ans;
}

void opr(int x, int y)
{
	bool join;
	if(y)
	{
		join = true;
		ensure(!l[x].rs);
		ensure(!l[y].ls);
		// ensure(x and y not together);
		l[x].rs = y;
		l[y].ls = x;
	}
	else
	{
		join = false;
		y = l[x].rs;
		ensure(y);
	}
	
	int lef = x;
	for(int i = 2; l[lef].ls &amp;&amp; i &lt; MAXK; ++i)
		lef = l[lef].ls;
	int c = e[0].son[l[lef].c], lxc = 0, lxi = 0;
	ensure(c);
	
	for(;;)
	{
		int i, t;
		if(lxc)
		{
			i = lxi--;
			t = y;
			c = lxc = e[lxc].go;
			ensure(c);
		}
		else
		{
			i = 1;
			t = l[lef].rs;
			if(lef == x)
				lxc = c;
		}
		for(; t &amp;&amp; i &lt; MAXK; ++i)
		{
			// printf(&quot;i %d, t %d, c %d\n&quot;, i, t, c);
			if(!e[c].son[l[t].c])
			{
				if(!lxc || !join)
					ensure(0);
				e[c].son[l[t].c] = newNode(c, l[t].c);
			}
			c = e[c].son[l[t].c];
			if(lxc)
			{
				// printf(&quot;+CNT %d\n&quot;, c);
				// static long long cnt = 0;
				// if(++cnt % 1000000 == 0)
					// fprintf(stderr, &quot;cnt = %d\n&quot;, cnt);
				if(join)
					++e[c].cnt;
				else
					--e[c].cnt;
			}
			if(t == x)
			{
				lxc = c;
				lxi = i;
			}
			t = l[t].rs;
		}
		if(lef == x)
			break;
		else
			lef = l[lef].rs;
	}
	
	if(!join)
	{
		l[x].rs = 0;
		l[y].ls = 0;
	}
}

int main()
{
	int n, m; io &gt;&gt; n &gt;&gt; m;
	f(i, 1, n)
	{
		io &gt;&gt; l[i].c;
		--l[i].c;
		insertSingle(l[i].c);
	}
	while(m--)
	{
		char op; io.getVisible(op);
		if(op == &#x27;1&#x27;)
		{
			int x, y; io &gt;&gt; x &gt;&gt; y;
			opr(x, y);
			// printf(&quot;==========================\n&quot;);
			// g(i, 0, ntop)
			// {
				// printf(&quot;NODE %d\n\tcnt %d, go %d, son:&quot;, i, e[i].cnt, e[i].go);
				// g(j, 0, 6) printf(&quot; %d&quot;, e[i].son[j]);
				// printf(&quot;\n&quot;);
			// }
			// printf(&quot;==========================\n&quot;);
		}
		else if(op == &#x27;2&#x27;)
		{
			int x; io &gt;&gt; x;
			opr(x, 0);
		}
		else
		{
			char *s = io.getStr();
			int k; io &gt;&gt; k;
			io &lt;&lt; query(s, k) &lt;&lt; &#x27;\n&#x27;;
		}
	}
	return 0;
}
</code></pre>
				<br />
				
				<label for="result"> 评测结果 </label><div class="row"><div class="col-xs-12"><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Compilation</b></td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">Compile OK</td><td class="col-xs-2" style="vertical-align:middle">Score: N/A</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_1" aria-expanded="false" aria-controls="detail_1">显示更多</a></td></tr></table></div><div class="collapse" id="detail_1"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>Compiling...
Compile success!
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #1</b></td><td class="col-xs-2" style="vertical-align:middle">18.97 us</td><td class="col-xs-2" style="vertical-align:middle">60 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_2" aria-expanded="false" aria-controls="detail_2">显示更多</a></td></tr></table></div><div class="collapse" id="detail_2"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.018968
mem_kb = 60
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #2</b></td><td class="col-xs-2" style="vertical-align:middle">20.12 us</td><td class="col-xs-2" style="vertical-align:middle">52 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_3" aria-expanded="false" aria-controls="detail_3">显示更多</a></td></tr></table></div><div class="collapse" id="detail_3"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.020123
mem_kb = 52
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #3</b></td><td class="col-xs-2" style="vertical-align:middle">6.956 ms</td><td class="col-xs-2" style="vertical-align:middle">124 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_4" aria-expanded="false" aria-controls="detail_4">显示更多</a></td></tr></table></div><div class="collapse" id="detail_4"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 6.956377
mem_kb = 124
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #4</b></td><td class="col-xs-2" style="vertical-align:middle">152.57 us</td><td class="col-xs-2" style="vertical-align:middle">180 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_5" aria-expanded="false" aria-controls="detail_5">显示更多</a></td></tr></table></div><div class="collapse" id="detail_5"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.152572
mem_kb = 180
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #5</b></td><td class="col-xs-2" style="vertical-align:middle">4.82 ms</td><td class="col-xs-2" style="vertical-align:middle">268 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_6" aria-expanded="false" aria-controls="detail_6">显示更多</a></td></tr></table></div><div class="collapse" id="detail_6"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 4.819654
mem_kb = 268
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #6</b></td><td class="col-xs-2" style="vertical-align:middle">63.122 ms</td><td class="col-xs-2" style="vertical-align:middle">44 MB + 80 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_7" aria-expanded="false" aria-controls="detail_7">显示更多</a></td></tr></table></div><div class="collapse" id="detail_7"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 63.122145
mem_kb = 45136
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #7</b></td><td class="col-xs-2" style="vertical-align:middle">14.091 ms</td><td class="col-xs-2" style="vertical-align:middle">1 MB + 432 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_8" aria-expanded="false" aria-controls="detail_8">显示更多</a></td></tr></table></div><div class="collapse" id="detail_8"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 14.091425
mem_kb = 1456
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #8</b></td><td class="col-xs-2" style="vertical-align:middle">42.995 ms</td><td class="col-xs-2" style="vertical-align:middle">37 MB + 40 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_9" aria-expanded="false" aria-controls="detail_9">显示更多</a></td></tr></table></div><div class="collapse" id="detail_9"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 42.994547
mem_kb = 37928
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #9</b></td><td class="col-xs-2" style="vertical-align:middle">68.047 ms</td><td class="col-xs-2" style="vertical-align:middle">46 MB + 76 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_10" aria-expanded="false" aria-controls="detail_10">显示更多</a></td></tr></table></div><div class="collapse" id="detail_10"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 68.046915
mem_kb = 47180
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #10</b></td><td class="col-xs-2" style="vertical-align:middle">182.949 ms</td><td class="col-xs-2" style="vertical-align:middle">41 MB + 840 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_11" aria-expanded="false" aria-controls="detail_11">显示更多</a></td></tr></table></div><div class="collapse" id="detail_11"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 182.949314
mem_kb = 42824
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #11</b></td><td class="col-xs-2" style="vertical-align:middle">245.476 ms</td><td class="col-xs-2" style="vertical-align:middle">60 MB + 384 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_12" aria-expanded="false" aria-controls="detail_12">显示更多</a></td></tr></table></div><div class="collapse" id="detail_12"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 245.475976
mem_kb = 61824
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #12</b></td><td class="col-xs-2" style="vertical-align:middle">77.592 ms</td><td class="col-xs-2" style="vertical-align:middle">49 MB + 680 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_13" aria-expanded="false" aria-controls="detail_13">显示更多</a></td></tr></table></div><div class="collapse" id="detail_13"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 77.592256
mem_kb = 50856
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #13</b></td><td class="col-xs-2" style="vertical-align:middle">29.947 ms</td><td class="col-xs-2" style="vertical-align:middle">2 MB + 832 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_14" aria-expanded="false" aria-controls="detail_14">显示更多</a></td></tr></table></div><div class="collapse" id="detail_14"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 29.946894
mem_kb = 2880
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #14</b></td><td class="col-xs-2" style="vertical-align:middle">100.103 ms</td><td class="col-xs-2" style="vertical-align:middle">68 MB + 540 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_15" aria-expanded="false" aria-controls="detail_15">显示更多</a></td></tr></table></div><div class="collapse" id="detail_15"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 100.103194
mem_kb = 70172
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #15</b></td><td class="col-xs-2" style="vertical-align:middle">120.624 ms</td><td class="col-xs-2" style="vertical-align:middle">74 MB + 300 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_16" aria-expanded="false" aria-controls="detail_16">显示更多</a></td></tr></table></div><div class="collapse" id="detail_16"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 120.623818
mem_kb = 76076
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #16</b></td><td class="col-xs-2" style="vertical-align:middle">394.658 ms</td><td class="col-xs-2" style="vertical-align:middle">79 MB + 184 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_17" aria-expanded="false" aria-controls="detail_17">显示更多</a></td></tr></table></div><div class="collapse" id="detail_17"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 394.657781
mem_kb = 81080
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #17</b></td><td class="col-xs-2" style="vertical-align:middle">467.989 ms</td><td class="col-xs-2" style="vertical-align:middle">96 MB + 128 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_18" aria-expanded="false" aria-controls="detail_18">显示更多</a></td></tr></table></div><div class="collapse" id="detail_18"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 467.989101
mem_kb = 98432
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #18</b></td><td class="col-xs-2" style="vertical-align:middle">358.332 ms</td><td class="col-xs-2" style="vertical-align:middle">150 MB + 492 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_19" aria-expanded="false" aria-controls="detail_19">显示更多</a></td></tr></table></div><div class="collapse" id="detail_19"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 358.331807
mem_kb = 154092
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #19</b></td><td class="col-xs-2" style="vertical-align:middle">405.059 ms</td><td class="col-xs-2" style="vertical-align:middle">165 MB + 68 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_20" aria-expanded="false" aria-controls="detail_20">显示更多</a></td></tr></table></div><div class="collapse" id="detail_20"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 405.058740
mem_kb = 169028
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #20</b></td><td class="col-xs-2" style="vertical-align:middle">81.16 ms</td><td class="col-xs-2" style="vertical-align:middle">35 MB + 1020 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_21" aria-expanded="false" aria-controls="detail_21">显示更多</a></td></tr></table></div><div class="collapse" id="detail_21"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 81.160321
mem_kb = 36860
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #21</b></td><td class="col-xs-2" style="vertical-align:middle">60.825 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 800 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_22" aria-expanded="false" aria-controls="detail_22">显示更多</a></td></tr></table></div><div class="collapse" id="detail_22"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 60.825234
mem_kb = 5920
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #22</b></td><td class="col-xs-2" style="vertical-align:middle">225.123 ms</td><td class="col-xs-2" style="vertical-align:middle">127 MB + 296 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_23" aria-expanded="false" aria-controls="detail_23">显示更多</a></td></tr></table></div><div class="collapse" id="detail_23"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 225.123205
mem_kb = 130344
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #23</b></td><td class="col-xs-2" style="vertical-align:middle">240.743 ms</td><td class="col-xs-2" style="vertical-align:middle">129 MB + 924 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_24" aria-expanded="false" aria-controls="detail_24">显示更多</a></td></tr></table></div><div class="collapse" id="detail_24"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 240.742587
mem_kb = 133020
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #24</b></td><td class="col-xs-2" style="vertical-align:middle">835.573 ms</td><td class="col-xs-2" style="vertical-align:middle">148 MB + 660 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_25" aria-expanded="false" aria-controls="detail_25">显示更多</a></td></tr></table></div><div class="collapse" id="detail_25"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 835.573312
mem_kb = 152212
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #25</b></td><td class="col-xs-2" style="vertical-align:middle">919.692 ms</td><td class="col-xs-2" style="vertical-align:middle">164 MB + 596 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_26" aria-expanded="false" aria-controls="detail_26">显示更多</a></td></tr></table></div><div class="collapse" id="detail_26"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 919.691670
mem_kb = 168532
Correct Answer
</textarea></div></div></div></div>
			</div>
		</div>
	</div>

	<hr />
	
	<div class="row">
		<p style="text-align: center; color: #888">
			Judge Duck Online | 评测鸭在线 <br />
			Server Time: 2019-08-02 17:14:00 | Loaded in 1 ms | <a href="/status/index.html"> Server Status </a> <br />
			个人娱乐项目，仅供学习交流使用
		</p>
	</div>
</div>

</body>

</html>
